#ifndef _MODULES_RGB_H_
#define _MODULES_RGB_H_

#include <stdint.h>

typedef struct _rgb_anim_ {
	int led_cnt;
	int frm_num;
	uint32_t color;
} rgb_anim_t;

int rgb_all_light_frame_count_get(int led_cnt);
int rgb_all_light_frame_get(rgb_anim_t* anim, uint32_t* frm_buf);

int rgb_all_off_frame_count_get(int led_cnt);
int rgb_all_off_frame_get(rgb_anim_t* anim, uint32_t* frm_buf);

int rgb_water_frame_count_get(int led_cnt);
int rgb_water_frame_get(rgb_anim_t* anim, uint32_t* frm_buf);

int rgb_water_opposite_frame_count_get(int led_cnt);
int rgb_water_opposite_frame_get(rgb_anim_t* anim, uint32_t* frm_buf);

int rgb_sequentially_frame_count_get(int led_cnt);
int rgb_sequentially_frame_get(rgb_anim_t* anim, uint32_t* frm_buf);

int rgb_sequentially_opposite_frame_count_get(int led_cnt);
int rgb_sequentially_opposite_frame_get(rgb_anim_t* anim, uint32_t* frm_buf);

#endif /* _MODULES_RGB_H_*/
